use futures::executor::block_on;
use std::thread;
use std::time::Duration;

async fn hello_world() {
    println!("hello, world!");
}

fn main() {
    let future = hello_world();
    println!("called");
    thread::sleep(Duration::from_secs(3));
    block_on(future);
}
